def my_endswith(s):
    st, suffix = s.split(',')
    if(st[len(st) - len(suffix):] == suffix):
        return True
    else:
        return False

s = input('请输入字符串(字符串和结束字符之间用’,’隔开)')
print(my_endswith(s))